package com.yanu.trace.t2s.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yanu.trace.t2s.entity.Pork;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yanu.trace.t2s.util.Message;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whj
 * @since 2021-06-23
 */
public interface PorkService extends IService<Pork> {
    IPage<Pork> selectPage(Page<?> page);
    IPage<Pork> selectPageByeid(Page<?> page,Integer eid,Integer level);
    Pork selectByidPaE(Integer id); //联合pork和enterprise表查询
    IPage<Pork> selectPageBylevel(Page<?> page,Integer level);


}
